package cn.cjx.system.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import cn.cjx.basic.domain.BaseDomain;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author cjx
 * @since 2022-05-13
 */
@Data
public class Role extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private String sn;
    // 角色和权限 多对多关系
    private List<Long> permissions = new ArrayList();
    // 角色和菜单 多对多关系
    private List<Long> menus = new ArrayList();
    private List<Menu> ownMenus = new ArrayList<>();


}
